/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package symulatorwindy.logic;

/**
 *
 * @author Tomek
 */
public class Pasazer {
    private int start;
    private int stop;
    private int name;
    private double czekanie=0;
    private double obsluga=0;
    
    public Pasazer(int name, int start, int stop) {
        this.name = name;
        this.start = start;
        this.stop = stop;
    }

    public int GetName() {
        return this.name;
    }

    public int getStart() {
        return this.start;
    }

    public int getStop() {
        return this.stop;
    }

    public void SetStart(int start) {
        this.start = start;
    }

    public void SetStop(int stop) {
        this.stop = stop;
    }

    public boolean naGore(){
        return start<stop;
    }
        public void setCzekanie(double czas){
        this.czekanie=czas;
    }
    public void setObsluga(double czas){
        this.obsluga=czas;
    }
    public double getCzekanie(){
        return this.czekanie; 
    }
    public double getObsluga(){
        return this.obsluga;
    }
}
